package net.tycmc.cty.ctyms.timejob.iems.job;

import net.tycmc.cty.ctyms.timejob.iems.service.JsonToExcelService;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.scheduling.quartz.QuartzJobBean;

/**
 * 定时作业 
 * jsonToExcel
 * @author jiyongtian
 * 
 */
public class JsonToExcelJob extends QuartzJobBean {

	private JsonToExcelService jobData;

	/**
	 * 设备状态统计：每天00:30调用一次。 
	 */
	@Override
	protected void executeInternal(JobExecutionContext arg0)
			throws JobExecutionException {
		//状态统计
		jobData.startStat();
	}
	public JsonToExcelService getJobData() {
		return jobData;
	}

	public void setJobData(JsonToExcelService jobData) {
		this.jobData = jobData;
	}
}